from poker_bot.admin_panel.app.views import MyBaseModelView


class DiscountModelView(MyBaseModelView):
    column_list = ("title",)

    form_excluded_columns = ("created_at", "updated_at")

    column_labels = {
        "title": "Название",
        "text": "Условия акции",
    }
